package com.bst.bsj.bops.web.constant;

/**   
* @Title: SystemConstant.java
* @Package com.bst.bsj.website.constant
* @Description: TODO(用一句话描述该文件做什么)
* @author wangxiaojun
* @date 2015年10月21日 下午4:17:11
* @version V1.0
* Copyright (c) 2015, 博思堂博视界.
*/ 
public class SystemConstant {
  public static final String PHOTO_SERVER = "http://weilankeji.oss-cn-hangzhou.aliyuncs.com/";

  /**
   * 排序字段
   */
  public static final String ORDER_FIELD = "id";

  /**
   * 默认排序规则
   */
  public static final String ORDER_DESC = "desc";

  public static final String COURSE_TREE_SPLIT = "->";

  /**
   * 查找带回分隔�?,
   */
  public static final String SEARCH_BACK_SPLIT = ",";

  /**
   * 难度系数范围分隔�?
   */
  public static final String DIFFIC_SPLIT = "-";

  /**
   * 单词匹配数目默认50�?
   */
  public static final Integer WORDS_NUM = 50;

  /**
   * 单词匹配数目小于50�?
   */
  public static final Integer WORDS_MINNUM = 10;

  /**
   * 状�? --启用
   */
  public static final int COMMON_STATUS_ON = 0;

  /**
   * 状�? --停用
   */
  public static final int COMMON_STATUS_OFF = 1;

  /**
   * 超级管理�?
   */
  public static final int IS_ADMIN = 1;

  public static final String ALL_RESOURCE = "allResource";

  /**
   * 用户语言
   */
  public static final String USER_LANGUAGE = "currentLanguage";

  public static final String REPLACE_URL = "{@{URL}@}";

  /**
   * 200返回dwz客户端的默认message
   */
  public static final String DWZ_CODE_OK_MESSAGE = "操作成功";

  /**
   * 300返回dwz客户端的默认message
   */
  public static final String DWZ_CODE_ERROR_MESSAGE = "操作失败";

  /**
   * 301返回dwz客户端的默认message
   */
  public static final String DWZ_CODE_TIMEOUT_MESSAGE = "会话超时";

  /**
   * 题库字典表类型名�?
   */
  public static final String CODETYPE_LIBR = "libr";

  /**
   * 资源主菜单类�?
   */
  public static final String RESOURCE_TYPE_MENU = "menu";

  /**
   * 资源子菜单类�?
   */
  public static final String RESOURCE_TYPE_MODULE = "module";

  /**
   * 题库建设者角色名�?
   */
  public static final String LIBER_ANTOR = "";

  /**
   * 系统管理员角色名�?
   */
  public static final String ADMIN_MANAGE = "系统管理";

}
